package com.demo.zhihu.data;

import java.util.List;

import com.demo.zhihu.model.Answer;
import com.demo.zhihu.model.Comment;
import com.demo.zhihu.model.Like;
import com.demo.zhihu.model.Question;
import com.demo.zhihu.model.UserProfile;

public interface QuestionDao {
		public void askQuestion(Question arg);
		public void answerQuestion(Answer answer);
		public void setQuestionAnswers(Question question);
		public int doesUserAnswered(Answer answer);
		public void postComment(Comment comment);
		public void setAnswerComments(Answer answer);
		public int didUserLikeSomeone(Like arg);
		public void likeSomeone(Like arg);
		public void dislikeSomeone(Like arg);
		public void setAnswerLikes(Like arg);
		public void setUserLikes(Like arg);
		public int getAnswerer(int answer);
		public void setCommentLikes(Like arg);	
		public List<Question> getMyQuestions(UserProfile arg);
		public List<Answer> getMyAnswers(UserProfile arg);
		
} 
